<h3>How to write a goroutine</h3>

You don't. You just write a function that you can asynchronously run using the go keyword.

Example:
<pre>
import "fmt"

func worker(msg string) {
	fmt.Println(msg)
}

func main() {
	worker("Synchronous Hello!");

	go worker("Asynchronous Hello!")
}
</pre>

